﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPM.Foundation.PWDB;

namespace BPM.Foundation.PWService
{
    public partial interface IPowerService
    {
        [System.ServiceModel.OperationContract]
        List<PW_Department> getDeptAllList();
    }

    public partial class PowerService : IPowerService
    {
        public List<PW_Department> getDeptAllList()
        {
            return PWDB.PW_Department.Where(a => a.isFreeze != 1).ToList();
        }
    }
}
